package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 卫生检查记录对象 yxx_sanitation
 * 
 * @author ruoyi
 * @date 2025-03-10
 */
public class YxxSanitation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long recordId;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private Long buildingId;

    /** 寝室号 */
    @Excel(name = "寝室号")
    private String dormitoryNumber;

    /** 辅导员 */
    @Excel(name = "辅导员")
    private String counselor;

    /** 班级 */
    @Excel(name = "班级")
    private String classes;

    /** 检查人id */
    @Excel(name = "检查人id")
    private Long checkerId;

    /** 检查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 卫生评分 */
    @Excel(name = "卫生评分")
    private String score;

    /** 问题明细 */
    @Excel(name = "问题明细")
    private String problems;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setDormitoryNumber(String dormitoryNumber) 
    {
        this.dormitoryNumber = dormitoryNumber;
    }

    public String getDormitoryNumber() 
    {
        return dormitoryNumber;
    }
    public void setCounselor(String counselor) 
    {
        this.counselor = counselor;
    }

    public String getCounselor() 
    {
        return counselor;
    }
    public void setClasses(String classes) 
    {
        this.classes = classes;
    }

    public String getClasses() 
    {
        return classes;
    }
    public void setCheckerId(Long checkerId) 
    {
        this.checkerId = checkerId;
    }

    public Long getCheckerId() 
    {
        return checkerId;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setProblems(String problems) 
    {
        this.problems = problems;
    }

    public String getProblems() 
    {
        return problems;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("buildingId", getBuildingId())
            .append("dormitoryNumber", getDormitoryNumber())
            .append("counselor", getCounselor())
            .append("classes", getClasses())
            .append("checkerId", getCheckerId())
            .append("checkDate", getCheckDate())
            .append("score", getScore())
            .append("problems", getProblems())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
